<?php

namespace app\api\controller\settings;

use app\api\controller\Controller;
use app\api\model\supplier\ServiceSecurity;
use app\Request;
use app\shop\model\product\Spec as SpecModel;
use app\shop\model\product\SpecValue as SpecValueModel;

/**
 * 商品规格控制器
 */
class Security extends Controller
{
    public function listData(Request $request)
    {
        $params = $request->param();
        $list = ServiceSecurity::listAll($params, [], 'sort_num desc');
        return $this->renderSuccess('', $list);
    }
}
